<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 比较运算符
        console.log(3 >= 5);
        console.log(2 <= 3);
        console.log(3 == 5);
        console.log('孙金瑶' == '刘德华');
        // 等于符号 == 默认转换数据类型为数字型
        console.log(18 == '18');
        // 全等要值和数据类型完全一致
        console.log(18 === '18');
    </script>
</head>

<body>

</body>

</html>